package com.book.derecated.observer;

import com.book.derecated.DeprecratedConstants;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

/**
 * @param
 * @author oyz
 * @version 1.0.4
 * @description: 具体观察者(接收订单)
 * @date 2023/11/28 21:56
 */
@Component
public class DeprecatedReceiveObserver extends DeprecatedAbstractObserver{

    @PostConstruct
    public void init(){
        DeprecratedConstants.OBSERVER_LIST.add(this);
    }

    @Override
    public void orderStateHandle(String orderId, String orderState) {

    }
}
